package com.bosssoft.entity.po;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author Li kexi
 * Created on 2021/8/20.10:12
 */
/**
    * 凭证样板表
    */
@ApiModel(value="com-bosssoft-entity-po-FibVoucher")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "fib_voucher")
@ToString
public class FibVoucherPO implements Serializable {
    /**
     * 凭证编号
     */
    @TableId(value = "voucher_code", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="凭证编号")
    private Integer voucherCode;

    /**
     * 凭证名
     */
    @TableField(value = "voucher_name")
    @ApiModelProperty(value="凭证名")
    private String voucherName;

    /**
     * 凭证样板
     */
    @TableField(value = "voucher_items")
    @ApiModelProperty(value="凭证样板")
    private String voucherItems;

    /**
     * 创建时间
     */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time",fill = FieldFill.UPDATE)
    @ApiModelProperty(value="更新时间")
    private Date updateTime;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    @ApiModelProperty(value="创建人")
    private String createBy;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    @ApiModelProperty(value="更新人")
    private String updateBy;

    /**
     * 激活状态
     */
    @TableField(value = "deleted")
    @ApiModelProperty(value="激活状态")
    private Byte deleted;

    /**
     * 版本号
     */
    @Version
    @TableField(value = "version")
    @ApiModelProperty(value="版本号")
    private Integer version;

    private static final long serialVersionUID = 1L;
}